package com.syq.mapper;

import com.syq.pojo.Kehuxinxi;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName: kehu
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/7/4 11:28
 */


public interface Kehu {


    Kehuxinxi findById(@Param("id") int id);

    List<Kehuxinxi> findAll();

    void add(Kehuxinxi kehuxinxi);

    void deleteByName(@Param("kehu") String kehu);


}
